import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;

public class Test {
    public static void main(String[] args) {
        Solution s=new Solution();
        int [] [] arr=new int[][]{{1,2,3},{4,5,6},{7,8,9}};
       // s.spiralOrder(arr);
        int [] arr1=new int[]{2,3,0,1};
        int [] arr2=new int[]{0,3,2,1};
        s.validateStackSequences(arr1,arr2);
        System.out.println("aaa");
    }
}
